<template>
  <el-config-provider :locale="elementplus">
    <el-table mb-1 :data="[]" />
    <el-pagination :total="100" />
    <el-button @click="() => changeLocale(SupportLanguage.zhCn)">{{ t('a.name') }}</el-button>
    <router-view></router-view>
    <app-settings></app-settings>
  </el-config-provider>
</template>

<script setup lang="ts">
import { useLocale } from '@/hooks/settings/useLocale';
import { SupportLanguage } from '@/types/enums';

const { changeLocale, elementplus } = useLocale();

const { t } = useI18n();
</script>

<style scoped></style>
